﻿#include <QtWidgets>
#include <cmath>

Plotter::Plotter(QWidget *parent): QWidget(parent)
{
    setBackgroundRole(QPalette::Dark);
    setAutoFillBackground(true);
    setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
    setFocusPolicy(Qt::StrongFocus);
    rubberBandIsShown = false;

    zoomInButton = new QToolButton(this);
    zoomInButton->setIcon(QIcon(":/images/zoomin.png"));
    zoomInButton->abjustSize();
    connect(zoomInButton, SIGNAL(clicked()), this, SLOT(zoomIn()));

    zoomOutButton = new QToolButton(this);
    zoomOutButton->setIcon(QIcon(":/images/zoomout.png"));

}


void Plotter::setPlotSettings(const PlotSettings &settings)
{

}

void Plotter::setCurveData(int id, const QVector<QPointF> &data)
{

}

void Plotter::clearCurve(int id)
{

}

QSize Plotter::minimumSizeHint() const
{

}

QSize Plotter::sizeHint() const
{

}

void Plotter::zoomIn()
{

}

void Plotter::zoomOut()
{

}

void Plotter::paintEvent(QPaintEvent *event)
{

}

void Plotter::resizeEvent(QResizeEvent *event)
{

}

void Plotter::mousePressEvent(QMouseEvent *event)
{

}

void Plotter::mouseMoveEvent(QMouseEvent *event)
{

}

void Plotter::mouseReleaseEvent(QMouseEvent *event)
{

}

void Plotter::keyPressEvent(QKeyEvent *event)
{

}

void Plotter::wheelEvent(QWheelEvent *event)
{

}

void Plotter::updateRubberBandRegion()
{

}

void Plotter::refreashPixmap()
{

}

void Plotter::drawGrid(QPainter *painter)
{

}

void Plotter::drawCurves(QPainter *painter)
{

}
